package top.mengchaob.fileserver.netty.api;

import top.mengchaob.fileserver.netty.handler.ParaChannelHandler;
import top.mengchaob.fileserver.netty.table.FileDo;
import top.mengchaob.fileserver.netty.table.FileLBDo;
import top.mengchaob.util.ResultBean;

public interface FileServiceI {
    ResultBean addFileLb(FileLBDo fileLBDo);
    ResultBean updateFileLb(FileLBDo fileLBDo);
    ResultBean delFileLb(String lbCode);
    ResultBean queryFileLb(String lbCode);
    ResultBean addFile(FileDo fileDo);
    ResultBean updateFile(FileDo fileDo);
    ResultBean delFile(String[] fileIds);
    ResultBean queryFile(String fileId);
    ResultBean queryFileByLbCode(String lbCode);
    ResultBean getFileLbAndFileInfoList();
}
